<!DOCTYPE html>
<html>
<head>
  <title>活动管理</title>
  <include file="./App/Admin/View/Public/header.html" />
  <include file="./App/Admin/View/Public/menu.html" />
  <include file="./App/Admin/View/Public/js.html" />
</head>
<body>
    <div class="templatemo-content col-1 light-gray-bg">
        <div class="templatemo-top-nav-container">
            <div class="row">
                <nav class="templatemo-top-nav col-lg-12 col-md-12">
                    <ul class="text-uppercase">
                        <li><a href="" class="active">修改活动</a></li>
                    </ul>  
                </nav> 
            </div>
        </div>
    <div class="templatemo-content-container">
      <div class="templatemo-content-widget no-padding">
        <div class="panel panel-default table-responsive">
          <table class="table table-striped table-bordered templatemo-user-table">
            <div class="container-fluid">  
              <div class="row">    
                <div class="col-md-2">
                </div>
                <div class="col-md-10">
    <form  method="post"  class="form-horizontal" action="{:U(doUpdate)}"  enctype="multipart/form-data">
        <table id="activity" class="table table-responsive">
        <tr>
        <input  type="hidden"  name="a_id" value="{$activityInfos.a_id}">
        </tr>
        <tr>
        <div class="form-group">
        <td>活动名称：</td>
        <td><input class="form-control" type="text"  name="a_title" value="{$activityInfos.a_title}"></td>
        </div>
        </tr>
        <tr>
        <td>活动内容：</td>
        <td><input class="form-control"  name="a_content"  type="text" value="{$activityInfos.a_content}"></td>
        </tr>
        <tr>
        <td>活动时间：</td>
        <td><input class="form-control"  name="a_date" type="text" value="{$activityInfos.a_date}"></td>
        </tr>
        <tr>
        <td>咨询热线：</td>
        <td><input class="form-control"  name="a_tel" type="text" value="{$activityInfos.a_tel}"></td>
        </tr>
        <tr>
        <td>活动收费：</td>
        <td><input class="form-control"  name="a_cost" type="text" value="{$activityInfos.a_cost}"></td>
        </tr>
        <tr>
        <td>活动地址：</td>
        <td><input class="form-control"  name="a_address" type="text" value="{$activityInfos.a_address}"></td>
        </tr>
        <tr>
        <td>活动图片 1</td>
        <td><input type="file" name="file1" value="{$activityInfos.a_pic1}"/></td>
        </tr>
        <tr>
        <td>活动图片 2</td>
        <td><input type="file" name="file2" value="{$activityInfos.a_pic2}"/></td>
        </tr>
        <tr>
        <td><button>提交</button></td>
        <td><button><a href="__URL__/activities">返回</a></button></td>
        </tr>
    </table>
</form>
</body>
</html>

